﻿@using FogBugzPd.Web
@{
	ViewBag.Title = "Projects and Milestones";
	Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Js
{
	<script type="text/javascript">

		$(document).ready(function () {
    		$("#loader").height(200);
    		$("#loader").show();

    		var date = new Date();
    		var offset = date.getTimezoneOffset();

    		$.post(resolveUrl("~/Project/AsyncList"),
            {
            	timeOffest:offset
            },
            function (result) {
            	$("#loader").hide();
            	$("#projects-milestones-div").empty();
            	$("#projects-milestones-div").html(result);
            	$("#projects-milestones-div").show();
            }, "HTML");

        });
	</script>
}

@section Css
{
	<link rel = "stylesheet" href="@Url.ContentV("~/Content/css/project.css")"/>
}

<div id="loader" class="container" style="display: none;margin: auto;">
	<img src="@Url.Content("~/Content/img/loader.gif")"/>
</div>

<div id="projects-milestones-div" class="container">
</div>
